package com.vip.dao.admin.dao;

import com.vip.dao.admin.domain.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;
import java.util.List;

@Component
public interface UserDao extends JpaRepository<User,Long> {

    User findUserByUserNameAndPassWord(String username,String passWord);

    User findUserByUid(Long uid);

    User findUserByUserName(String userName);

    List<User> findUserByStatue(String statue);
}
